from flask_admin import BaseView, expose

#: Base View 
class CustomView(BaseView):

	@expose('/')
	def index(self):
		return self.render('admin/custom.html')
	
	@expose('/second_page')
	def second_page(self):
		return self.render('admin/second_page.html')


from flask_admin.contrib.sqla import ModelView

#: Mode View
class CustomModelView(ModelView):

	pass

from flask_admin.contrib.fileadmin import FileAdmin

#: FileView
class CustomFileView(FileAdmin):

	pass